<template>
    <div class="Level">
        <div class="Obtain">
            <div class="ObtainTop">
                <p>成功</p>
                <div class="ObtainClose" v-animated @click="ObtainClose"></div>
            </div>
            <div class="Articles">
                <div class="ArticlesImage"></div>
                <p>注册成功</p>
            </div>
            <div class="Button">
                <div v-animated class="RightButton" @click="Entry">
                    确实
                </div>
            </div>
        </div>
    </div>
</template>

<script setup>
let emit = defineEmits(['HomeClose'])

let ObtainClose = () => {
    emit('HomeClose', false)
}
let Entry = () => {
    emit('HomeClose', false)
}
</script>

<style lang="scss" scoped>
.MonyAll {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.Level {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    z-index: 250;
    bottom: 0;

    .Button {
        position: absolute;
        bottom: 0.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0rem 4.2rem;
        box-sizing: border-box;
        font-size: 4.2rem;
        font-family: Adobe Heiti Std;
        font-weight: normal;
        color: #4e4e4e;
        text-align: center;
        line-height: 7.8rem;

        .RightButton {
            width: 24.9rem;
            height: 7.8rem;
            background: url("../assets/batton_xiao_1.png") no-repeat;
            background-size: cover;
            margin: auto;
            font-weight: bold;
            color: #a47045;
        }
    }

    .Mony {
        width: 15.6rem;
        height: 3.4rem;
        background-size: contain;
        margin-left: auto;
        padding-right: 8.4rem;
        display: flex;
        align-items: center;

        .MonyImage {
            width: 3rem;
            height: 4rem;
            background-size: contain;
        }

        .MonyImage2 {
            width: 3.5rem;
            height: 4rem;
            background-size: contain;
        }

        p {
            flex: 0.7;
            text-align: center;
            font-size: 2.4rem;
            font-family: Adobe Heiti Std;
            font-weight: bold;
            color: #ffffff;
            margin: 0;
        }
    }

    .prompt {
        text-align: center;
        font-size: 2.4rem;
        font-family: Adobe Heiti Std;
        font-weight: 400;
        color: #595959;

        // line-height: 98px;
        span {
            color: #50a43b;
        }
    }

    .Articles {
        width: 66rem;
        height: 16rem;
        margin: 2rem auto;
        text-align: center;
        box-sizing: border-box;
        line-height: 4rem;
        padding-top: 5rem;

        .ArticlesImage {
            background: url('../assets/c6af5a8698d814be6de9f036095c7ec7.png') no-repeat;
            background-size: contain;
            background-position-x: center;
            height: 10rem;
            margin-bottom: 1rem;
        }

        p {
            font-size: 3.6rem;
            margin: 0;
            font-weight: 400;
            font-family: Adobe Heiti Std;
            font-weight: bold;
            color: #595959;
            // line-height: 3.6rem;
        }


    }

    .ObtainTop {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: -6rem;
        width: 100%;
        text-align: center;

        p {
            font-size: 3.3rem;
            font-family: Adobe Heiti Std;
            font-weight: bold;
            color: #fffffc;
        }

        .ObtainClose {
            width: 6rem;
            height: 6rem;
            background: url("../assets/batton_guanbi.png") no-repeat;
            background-size: contain;
            margin-left: auto;
            justify-self: flex-end;
            position: absolute;
            right: 2rem;
        }
    }

    .Obtain {
        width: 70.7rem;
        height: 48rem;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        border-image-source: url("../assets/主线/diban_jiugong_1.png");
        border-image-slice: 79 0 31 0 fill;
        border-top: 9.2rem solid;
        border-bottom: 3rem solid;
        box-sizing: border-box;
        z-index: 40;
    }
}
</style>